import { currentRole, currentState } from "./index.js";
Promise.resolve().then(() => {
    const nameSpan = currentRole.querySelector(".name");
    if (nameSpan) {
        //玩家名称
        nameSpan.innerHTML = "我";
        //玩家层级
        currentRole.style.zIndex = "1";
        currentState.role = localStorage.role;
    }
});
